package net.laoyeye.yyblog.service;

import java.util.List;

import net.laoyeye.yyblog.common.DataGridResult;
import net.laoyeye.yyblog.model.TPlan;
import net.laoyeye.yyblog.model.query.BaseQuery;

/**
 * jobService
 * 
 * @date 2020年6月23日
 * 
 */
public interface TPlanService {
    
	 int deleteByPrimaryKey(Integer id);

	    int insert(TPlan tPlan);

	    int insertSelective(TPlan tPlan);

	    int updateByPrimaryKeySelective(TPlan tPlan);

	    int updateByPrimaryKey(TPlan tPlan);

	    TPlan selectById(Integer id);

	    List<TPlan> findPageWithResult(TPlan tPlanDTO);

	    Integer findPageWithCount(TPlan tPlanDTO);

		DataGridResult listPage(BaseQuery query);
}
